From 52c437a6da9be5b32ebcd77985fa44c3e6ec3115 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 28 Mar 2006 13:45:08 +0100 Subject: [PATCH] The introduction of the SMI handling code added in cset 9371 is "reversed", as in it actually clears the SMI bit in the VMCB. If you have a new enough chip (or new BIOS), the SMI bit HAS TO BE SET or it gives exitcode -1. Signed-off-by: Mats Petersson --- xen/arch/x86/hvm/svm/vmcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/vmcb.c b/xen/arch/x86/hvm/svm/vmcb.c index 2fb45896f5..8b46e104e5 100644 --- a/xen/arch/x86/hvm/svm/vmcb.c +++ b/xen/arch/x86/hvm/svm/vmcb.c @@ -123,7 +123,7 @@ static int construct_vmcb_controls(struct arch_svm_struct *arch_svm) GENERAL1_INTERCEPT_RDTSC | GENERAL1_INTERCEPT_PUSHF | GENERAL1_INTERCEPT_SWINT | GENERAL1_INTERCEPT_POPF | GENERAL1_INTERCEPT_IRET | GENERAL1_INTERCEPT_PAUSE | - GENERAL1_INTERCEPT_TASK_SWITCH | GENERAL1_INTERCEPT_SMI + GENERAL1_INTERCEPT_TASK_SWITCH ); /* turn on the general 2 intercepts */ -- 2.30.2